def get_median(lst):
    len_lst = len(lst)
    lst.sort()
    if len_lst == 0:
        return 0
    elif len_lst%2 == 0:
        low = lst[int((len_lst/2)-0.5)]
        high = lst[int((len_lst/2)+0.5)]
        res = (low + high)/2
        print(res)
        return res
    else:
        res =  lst[int((len_lst-1)/2)]
        print(res)
        return res  

assert get_median([]) == 0
assert get_median([22]) == 22
assert get_median([3, 5, 8, 4]) == 4.5
assert get_median([26, 54, 95, 23, 23]) == 26
assert get_median([63, 62, 80, 3, 100, 24, 44, 71, 52, 83, 90, 33, 96, 69, 33]) == 63
assert get_median(
    [38, 44, 86, 66, 9, 11, 20, 79, 92, 38, 78, 98, 33, 21, 25, 5, 84, 84, 37, 71, 84, 67, 2, 78, 83, 19, 4, 55, 68,
     18]) == 49.5